import Vue from 'vue'
import App from './App.vue'
import store from './../../store'
import './../../plugins'
import '@/assets/styles/common.scss'

Vue.config.productionTip = false

if (process.env.NODE_ENV === 'production') {
    window.apiready = () => {
        new Vue({
            store,
            render: h => h(App)
        }).$mount('#app')
    }
} else {
    new Vue({
        store,
        render: h => h(App)
    }).$mount('#app')
}